package DeportManage;

public class DuplicateException extends Exception {

	/**
	 * Constructor to throw message about duplicate
	 * @param error the Parcel ID, which is already in depot
	 */
	public DuplicateException(String error){
		super("The Parcel is already in the depot: " + error);
	}
}
